package com.dykj.fireFighting.server.base.analysis.mapper;

import com.dykj.fireFighting.api.base.analysis.entity.BusinessLevel;
import com.dykj.fireFighting.api.base.analysis.entity.BusinessMap;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;

import java.util.List;

public interface BusinessMapMapper extends SuperMapper<BusinessMap> {
    List<BusinessMap> getFireAlarmBusinessMap(String beginTime, String endTime);
    List<BusinessMap> getFaultBusinessMap(String beginTime, String endTime);
    List<BusinessMap> getEarlyWarningBusinessMap(String beginTime, String endTime);

    List<BusinessLevel> getFireAlarmBusinessLevelByYear(String beginTime);

    List<BusinessLevel> getFaultBusinessLevelByYear(String beginTime);

    List<BusinessLevel> getEarlyWarningBusinessLevelByYear(String beginTime);

    List<BusinessLevel> getFireAlarmBusinessLevelByQuarter(String beginTime);

    List<BusinessLevel> getFaultBusinessLevelByQuarter(String beginTime);

    List<BusinessLevel> getEarlyWarningBusinessLevelByQuarter(String beginTime);

    List<BusinessLevel> getFireAlarmBusinessLevelByMonth(String beginTime);

    List<BusinessLevel> getFaultBusinessLevelByMonth(String beginTime);

    List<BusinessLevel> getEarlyWarningBusinessLevelByMonth(String beginTime);

}
